package hunter20240514;

public class Manager extends Employee {
    private int management;

    public int getManagement() {
        return management;
    }

    public void setManagement(int management) {
        this.management = management;
    }

    public Manager() {

    }

    public Manager(int id, String name, int salary, int management) {
        super(id, name, salary);
        this.management = management;
    }

    public void work(String name) {
        System.out.println(getName() + "骂了一顿" + name);
    }
}
